<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Efetuar Login - SisTADS</title>
        <link href="padrao.css" rel="stylesheet" type="text/css" />
        <script language="JavaScript" type="text/javascript" src="jquery.js">
        </script>
        <script language="JavaScript" type="text/javascript" src="jquery.validate.js">
        </script>
    </head>
    <body>
        <div id="login">
            <form name="formLogin" id="formLogin" method="post" 
                  action="tryLogin.php">
                <fieldset>
                    <legend>Efetuar Login</legend>
                    <label for="usuario">Usuário:</label>
                    <br />
                    <input type="text" name="usuario" id="usuario"
                           size="20" maxlength="20" />
                    <br />
                    <label for="senha">Senha:</label>
                    <br />
                    <input type="password" name="senha" id="senha" 
                           size="20" maxlength="20"/>
                    <br />
                    <input type="submit" value="Entrar" />
                </fieldset>
            </form>
            
           
            <script language="JavaScript" type="text/javascript">
                $().ready(function() {
                    // validate signup form on keyup and submit
                    $("#formLogin").validate({
                        rules: {
                            usuario: "required",
                            senha: "required"
                        },
                        messages: {
                            usuario: "Informe seu nome de usuário.",
                            senha: "Informe sua senha."
                        }
                    });

                });
            </script>
        </div>
    </body>
</html>
